package com.sc.service;

import com.sc.common.pojo.CommonResult;
import com.sc.common.pojo.EasyUiTreeNode;

import java.util.List;

/**
 * Created by sc on 2017/10/19.
 */
public interface ContentCategoryService {

    List<EasyUiTreeNode> getList(Long parentId);


    CommonResult updateNode(Long id, String name);

    CommonResult createNode(Long parentId, String name);

    void deleteNode(Long id, Long parentId);
}
